﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class Sys_DistrictsCollection : List<Sys_Districts>
    { 
         public int IndexOf(Sys_Districts item)
        {
            return base.IndexOf(item);
        }
        public void Insert(int index, Sys_Districts item)
        {
            base.Insert(index, item);
        }
        public new void RemoveAt(int index)
        {
            base.RemoveAt(index);
        }
        public Sys_Districts this[int index]
        {
            get
            {
                return base[index];
            }
            set
            {
                base[index] = value;
            }
        }
        public void Add(Sys_Districts item)
        {
            base.Add(item);
        }
        public new void Clear()
        {
            base.Clear();
        }
        public new bool Contains(Sys_Districts item)
        {
            return base.Contains(item);
        }
        public new void CopyTo(Sys_Districts[] array, int arrayIndex)
        {
            base.CopyTo(array, arrayIndex);
        }
        public new int Count
        {
            get
            {
                return base.Count;
            }
        }
        public bool IsReadOnly
        {
            get
            {
                return IsReadOnly;
            }
        }
        public new void Remove(Sys_Districts item)
        {
            base.Remove(item);
        }
        public new IEnumerator<Sys_Districts> GetEnumerator()
        {
            return base.GetEnumerator();
        } 
    }
    public class Sys_Districts
    {
        private int _IDDistrict;

        public int IDDistrict
        {
            get { return _IDDistrict; }
            set { _IDDistrict = value; }
        }
        private string _DistictCode;

        public string DistictCode
        {
            get { return _DistictCode; }
            set { _DistictCode = value; }
        }
        private string _NameDistrict;

        public string NameDistrict
        {
            get { return _NameDistrict; }
            set { _NameDistrict = value; }
        }
        private int _Capcha;

        public int Capcha
        {
            get { return _Capcha; }
            set { _Capcha = value; }
        }
        private Boolean _Status;

        public Boolean Status
        {
            get { return _Status; }
            set { _Status = value; }
        }
        private Boolean _Use;

        public Boolean Use
        {
            get { return _Use; }
            set { _Use = value; }
        }
        private string _Group;

        public string Group
        {
            get { return _Group; }
            set { _Group = value; }
        }
    }
}
